
package com.android.delivery.api;

/**
 * Created by mqwang on 2017/11/15.
 */

public class APIUrl {

    //正式环境
    public static final String BASE_URL = "http://deliverer.shancunjishi.com/deliverer";

    //测试环境
//    public static final String BASE_URL = "http://8.129.161.247:11000/deliverer";

    /** 发送验证码*/
    public static final String SMS_CODE = BASE_URL + "/sms/code";

    //网点
    /** 历史订单*/
    public static final String LOCATION_ORDER_HISTORY = BASE_URL + "/location/order/history";
    /** 揽件列表*/
    public static final String PICK = BASE_URL + "/pick";
    /** 待接单列表*/
    public static final String PICK_WAIT_TAKE = BASE_URL + "/pick/wait_take";
    /** 待接车列表*/
    public static final String ORDER_ARRIVED = BASE_URL + "/location/order/arrived";
    /** 待接车详情*/
    public static final String ORDER_ARRIVED_ITEMS = BASE_URL + "/location/order/arrived/items";
    /** 运输中订单 */
    public static final String LOCATION_ORDER_TRANSPORTING = BASE_URL + "/location/order/transporting";
    /** 骑手 列表*/
    public static final String LOGISTICS_RIDER = BASE_URL + "/logistics/rider";
    /** 待接车-确认接单 */
    public static final String PICK_TAKE = BASE_URL + "/pick/take";
    /** 揽件历史列表*/
    public static final String PICK_HISTORY = BASE_URL + "/pick/history";

    //派件模块
    /**配送列表*/
    public static final String DELIVERY = BASE_URL + "/delivery";
    /** 派送历史列表*/
    public static final String DELIVERY_HISTORY = BASE_URL + "/delivery/history";
    /** 自提配送*/
    public static final String DELIVERY_SIGN = BASE_URL + "/delivery/sign";

    //司机
    /** 运输列表*/
    public static final String TRANSPORT = BASE_URL + "/transport";
    /** 运输明细*/
    public static final String TRANSPORT_ITEM = BASE_URL + "/transport/item";

    /** 用户*/
    public static final String USER = BASE_URL + "/user";
    /** 余额 */
    public static final String USER_ACCOUNT = BASE_URL + "/user/account";
    /** 账单明细 */
    public static final String USER_ACCOUNT_BILL = BASE_URL + "/user/account/bill";
    /** 扫码上下车*/
    public static final String TRANSPORT_SCAN = BASE_URL + "/transport/loading/scan";
    /** 下车*/
    public static final String TRANSPORT_UNLOAD = BASE_URL + "/transport/unload";
    /** 扫码下车*/
    public static final String TRANSPORT_SCAN_UNLOAD = BASE_URL + "/location/transport/unload/scan";

    /** 送达*/
    public static final String TRANSPORT_ARRIVE = BASE_URL + "/transport/arrive";
    /** 确认接车*/
    public static final String TRANSPORT_SIGN = BASE_URL + "/location/transport/sign";



    /** 商品列表*/
    public static final String GOODS = BASE_URL + "/goods";
    /** 登录*/
    public static final String LOGIN = BASE_URL + "/login";
    /** 商家详情*/
    public static final String SHOP_ID = BASE_URL + "/shop";
    /** 地址列表*/
    public static final String USER_ADDRESS = BASE_URL + "/user/address";
    /** 订单结算*/
    public static final String ORDER_SETTLE = BASE_URL + "/order/settle";
    /** 订单创建*/
    public static final String ORDER_CREATE = BASE_URL + "/order/create";
    /** 微信支付*/
    public static final String ORDER_PAY_WX = BASE_URL + "/order/pay/wx";
    /** 余额支付 */
    public static final String ORDER_PAY_BALANCE = BASE_URL + "/order/pay/balance";
    /** 订单详情*/
    public static final String ORDER_DETAIL = BASE_URL + "/order";
    /** 取消订单*/
    public static final String ORDER_CANCEL = BASE_URL + "/order/cancel";
    /** 订单列表*/
    /** 网点列表*/
    public static final String LOGISTICS_LOCATION = BASE_URL + "/logistics/location";
    /** 寄件订单列表*/
    public static final String LOGISTICS_ORDER = BASE_URL + "/logistics/order";
    /** 转单*/
    public static final String TRANSFER = BASE_URL + "/transfer";
    /** 指定派单 */
    public static final String ORDER_ALLOCATE = BASE_URL + "/location/order/allocate";
    /** 派件模块-接单 */
    public static final String DELIVERY_TAKE = BASE_URL + "/delivery/take";
    /** 转单接受 */
    public static final String TRANSFER_CONFIM = BASE_URL + "/transfer/confirm";
    /** 转单拒绝 */
    public static final String TRANSFER_REFUSE = BASE_URL + "/transfer/refuse";


    /** 打印机列表 */
    public static final String PRINTER = BASE_URL + "/printer";
    /** 打印 */
    public static final String PRINTER_PRINT = BASE_URL + "/printer/print";
    /** 连接打印机 */
    public static final String PRINTER_CONNECT = BASE_URL + "/printer/connect";

    /** 文件上传 */
    public static final String UPLOAD_FILE = BASE_URL + "/file/upload/pic";

    /** 版本更新 */
    public static final String LAUNCH = BASE_URL + "/launch";

    /** 网点端首页数据 */
    public static final String NET_HOME = BASE_URL + "/location/home";

    /** 骑手端首页数据 */
    public static final String QISHOU_HOME = BASE_URL + "/rider/home";

    /** 司机端首页数据 */
    public static final String SIJI_HOME = BASE_URL + "/transport/home";

    /** 同城速递已接单列表数据 */
    public static final String CITY_ACCEPT_LIST = BASE_URL + "/work-order";

    /** 同城速递已接单-确认送达 */
    public static final String CONFIRM_DELIVERY = BASE_URL + "/work-order/confirm-delivery";
}

